package fge;

import com.mxgraph.util.mxConstants;

public class DEprocess extends Fcomponent {

	/**
	 * Mandatory delay
	 */
	double delay;
	
	public DEprocess(String label, double width, double height) {
		super(label, width, height);
		this.changeStyle(mxConstants.STYLE_FILLCOLOR, color_DE);
	}

	@Override
	protected void addInput() {
		InputPort p = new InputPortDE();
		this.insert(p);
	}	
	
	public double getDelay() {
		return delay;
	}

	public void setDelay(double delay) {
		this.delay = delay;
	}
}

